package work04graphics;

public class Circle {
    int radius;//半径
    double getArea(){
        System.out.println("Circle area is " + Math.PI * radius * radius);
        return Math.PI * radius * radius;
    }

    public int getRadius() {
        return radius;
    }

    public void setRadius(int radius) {
        this.radius = radius;
    }
}
